package com.ctshk.rpc.order.tour.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctshk.rpc.order.tour.entity.SeriesOrderTouristGroup;
import org.apache.ibatis.annotations.Select;


/**
 * <p>
 * 系列团游客分组 Mapper 接口
 * </p>
 *
 * @author 张志朋
 * @since 2021-02-1
 */
public interface SeriesOrderTouristGroupMapper extends BaseMapper<SeriesOrderTouristGroup> {

    /**
     * 查询最大组名
     *
     * @return 返回值
     */
    @Select("SELECT id id,max(group_name) groupName FROM t_series_order_tourist_group ")
    SeriesOrderTouristGroup queryMaxGroupName();

}
